local lobby_background = function()
    return require("ui.Background.Background")
end

local M = {
    routes = {
        -- 初始化加载读条
        {
            path = "/club.threecard.jacksorbetter/apploading",
            components = {
                background = lobby_background,
                default = function()
                    return require "club.threecard.gamelib.UI.GameLoading.GameLoadingUI"
                end
            }
        },
        -- 游戏主入口
        {
            path = "/club.threecard.jacksorbetter/entrance",
            components = {
                background = lobby_background,
                default = function()
                    return require "club.threecard.gamelib.UI.RoomLobby.RoomLobbyUI"
                end,
            }
        },
        -- 游戏界面
        {
            path = "/club.threecard.jacksorbetter/ingame",
            components = {
                background = function()
                    return require "club.threecard.jacksorbetter.ui.background.ingame_bg"
                end,
                default = function()
                    return require "club.threecard.jacksorbetter.ui.ingame.GameUI"
                end,
            }
        },
    }
}

return M
